@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <input type="hidden" id="buildingId" value="${buildingId}">
                            <div class="row">
                            <div class="col-lg-10 col-sm-9">
                                <div class="row">
                            <div class="col-sm-3 col-sm-7">
                                <#NameCon id="name" name="教室名称" />
                            </div>

                                <div class="col-lg-3 col-sm-7" style="margin-left: 100px">
                                    <div class="input-group" >
                                        <div class="input-group-btn">
                                            <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button" >
                                            教室类型</button>
                                        </div>
                                        <select class="form-control" id="classType" style="width: 113px">
                                            <option value="">请选择</option>
                                            @for(classTypeMeta in classTypes){
                                            <option value="${classTypeMeta.value}">${classTypeMeta.name}</option>
                                            @}
                                        </select>
                                    </div>
                            </div>
                            </div>
                            </div>
                            <div class="col-lg-2 col-sm-3">
                                <div class="row">
                                    <div class="col-lg-12 col-sm-12">
                                        <#button name="搜索" icon="fa-search" clickFun="PtSchoolClassroom.search()"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hidden-xs" id="PtSchoolClassroomTableToolbar" role="group">
                            @if(shiro.hasPermission("/ptClassRoom/add")){
                                <#button name="添加" icon="fa-plus" clickFun="PtSchoolClassroom.openAddPtSchoolClassroom()"/>
                            @}
                            @if(shiro.hasPermission("/ptClassRoom/edit")){
                                <#button name="修改" icon="fa-edit" clickFun="PtSchoolClassroom.openPtSchoolClassroomDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/ptClassRoom/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="PtSchoolClassroom.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/ptClassRoom/detail")){
                            <#button name="查看" icon="fa-eye" clickFun="PtSchoolClassroom.detail()" space="true"/>
                            @}
                        </div>
                        <#table id="PtSchoolClassroomTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctxPath}/static/modular/system/ptSchoolClassroom/ptSchoolClassroom.js"></script>
@}
